package ar.edu.unicen.exa.oop.bbquery.model.forum;

import java.net.URI;

/**
 * this interface is used to authenificate a user, its saved via hibernate and
 * anybody that implements a connector for a forum must implement it, or use the
 * default bean.
 * 
 * @author nicolas
 * 
 */
public interface ForumAuthToken {

    public abstract Integer getId();
    
    public abstract String getUsername();

    public abstract String getPassword();

    /**
     * @return the forumURL
     */
    public abstract URI getForumRootURL();

    /**
     * @return the forumTypeString
     */
    public abstract String getForumTypeString();

	/**
	 * @param username
	 *            the username to set
	 */
	public abstract void setUsername(String username);

	/**
	 * @param password
	 *            the password to set
	 */
	public abstract void setPassword(String password);

	/**
	 * @param forumURL
	 *            the forumURL to set
	 */
	public abstract void setForumRootURL(URI forumURL);

	/**
	 * @param forumTypeString
	 *            the forumTypeString to set
	 */
	public abstract void setForumTypeString(String forumTypeString);

	/**
	 * @param id
	 *            the id to set
	 */
	public abstract void setId(Integer id);

}